package com.example.layui.mapper;

import com.example.layui.pojo.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductMapper {
    List<Product> getAllProductByPage(int start, int size);
    List<Product> getAllProduct();

    int updateProduct(Product product);
}
